/**
 * Collaborative Story Development Web Application (CSDApp) Copyright Anton
 * Strack 2014
 *
 * This file is part of Collaborative Story Development Application (CSDApp).
 *
 * CSDApp is free software: you can redistribute it and/or modify it under the
 * terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or any later version.
 *
 * CSDApp is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * CSDApp. If not, see <http://www.gnu.org/licenses/>.
 *
 */
package csdwa;

/**
 * This class makes the various resources and presents their resource type.
 *
 * @author Anton Strack
 */
public class ResourceFactory {

    public static Post makeSite() {
        int resourceTypeId = 0;
        return new Post(resourceTypeId);
    }

    public static Post makePost() {
        int resourceTypeId = 2;
        return new Post(resourceTypeId);
    }

    public static Plot makePlot() {
        int resourceTypeId = 3;
        return new Plot(resourceTypeId);
    }

    public static Character makeCharacter() {
        int resourceTypeId = 4;
        return new Character(resourceTypeId);
    }

    public static Dialog makeDialog() {
        int resourceTypeId = 5;
        return new Dialog(resourceTypeId);
    }

    public static Location makeLocation() {
        int resourceTypeId = 6;
        return new Location(resourceTypeId);
    }

    public static Relationship makeRelationship() {
        int resourceTypeId = 9;
        return new Relationship(resourceTypeId);
    }

    public static Comment makeComment() {
        int resourceTypeId = 7;
        return new Comment(resourceTypeId);
    }

    public static UserHistory makePostHistory() {
        int resourceTypeId = 20;
        return new UserHistory(resourceTypeId);
    }

    public static NotificationTemplate makeNotificationTemplate() {
        int resourceTypeId = 17;
        return new NotificationTemplate(resourceTypeId);
    }

    public static Task makeTask() {
        int resourceTypeId = 16;
        return new Task(resourceTypeId);
    }

    public static Category makeCategory() {
        int resourceTypeId = 8;
        return new Category(resourceTypeId);
    }

    public static Notification makeNotification() {
        int resourceTypeId = 24;
        return new Notification(resourceTypeId);
    }
}
